cmake_minimum_required(VERSION 3.5)

set(PROJECT_NAME b64c)
project(${PROJECT_NAME} LANGUAGES C)

#add_library(${PROJECT_NAME} SHARED 
add_library(${PROJECT_NAME}
    buffer.c
    decode.c
    encode.c
)

target_include_directories(${PROJECT_NAME} INTERFACE .)

add_executable(mytest
    mytest.c
)
target_link_libraries(mytest ${PROJECT_NAME})
